# django url path 相关


class UrlPath:

    @staticmethod
    def url_method(url: str) -> str:
        """设置 url path"""
        return f'{url}<str:method>/'

